.class public Les/go0;
.super Ljava/lang/Object;
.source "DownloadPreconnecter.java"


# static fields
.field private static final a:Landroid/os/HandlerThread;

.field private static final b:Landroid/os/Handler;

.field static c:J

.field static d:J


# direct methods
.method static constructor <clinit>()V
    .locals 2

    .line 1
    new-instance v0, Landroid/os/HandlerThread;

    const-string v1, "Downloader-preconnecter"

    invoke-direct {v0, v1}, Landroid/os/HandlerThread;-><init>(Ljava/lang/String;)V

    sput-object v0, Les/go0;->a:Landroid/os/HandlerThread;

    .line 2
    invoke-virtual {v0}, Landroid/os/HandlerThread;->start()V

    .line 3
    new-instance v0, Landroid/os/Handler;

    sget-object v1, Les/go0;->a:Landroid/os/HandlerThread;

    invoke-virtual {v1}, Landroid/os/HandlerThread;->getLooper()Landroid/os/Looper;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

    sput-object v0, Les/go0;->b:Landroid/os/Handler;

    .line 4
    new-instance v1, Les/go0$a;

    invoke-direct {v1}, Les/go0$a;-><init>()V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    return-void
.end method

.method public static a()V
    .locals 5

    .line 1
    invoke-static {}, Les/jo0;->b()Les/jo0;

    move-result-object v0

    const-wide/32 v1, 0x493e0

    const-string v3, "preconnect_connection_outdate_time"

    invoke-virtual {v0, v3, v1, v2}, Les/jo0;->a(Ljava/lang/String;J)J

    move-result-wide v3

    sput-wide v3, Les/go0;->c:J

    .line 2
    invoke-static {}, Les/jo0;->b()Les/jo0;

    move-result-object v0

    const-string v3, "preconnect_head_info_outdate_time"

    invoke-virtual {v0, v3, v1, v2}, Les/jo0;->a(Ljava/lang/String;J)J

    move-result-wide v0

    sput-wide v0, Les/go0;->d:J

    .line 3
    invoke-static {}, Les/fo0;->a()Les/fo0;

    move-result-object v0

    invoke-static {}, Les/jo0;->b()Les/jo0;

    move-result-object v1

    const-string v2, "preconnect_max_cache_size"

    const/4 v3, 0x3

    .line 4
    invoke-virtual {v1, v2, v3}, Les/jo0;->a(Ljava/lang/String;I)I

    move-result v1

    .line 5
    invoke-virtual {v0, v1}, Les/fo0;->a(I)V

    return-void
.end method
